#ifndef  _RSA_H_
#define _RSA_H_
#include <openssl/bio.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/rsa.h>
#include <openssl/pem.h>
#include <string>
#include <stdio.h>
#include <cassert>
#include <iostream>
using namespace std;

int EncodeRSAKeyFile(const char * _strPemFileName,const char * _strData,unsigned char* buffer,int length);
int DecodeRSAKeyFile(const char * _strPemfileName , const char * _strData , unsigned char * buffer ,  int length);
#endif